/// goods_promotion_url_generate_response : {"goods_promotion_url_list":[{"mobile_short_url":"str","mobile_url":"str","qq_app_info":{"app_id":"str","banner_url":"str","desc":"str","page_path":"str","qq_app_icon_url":"str","source_display_name":"str","title":"str","user_name":"str"},"schema_url":"str","short_url":"str","url":"str","we_app_info":{"app_id":"str","banner_url":"str","desc":"str","page_path":"str","source_display_name":"str","title":"str","user_name":"str","we_app_icon_url":"str"},"we_app_web_view_short_url":"str","we_app_web_view_url":"str","weibo_app_web_view_short_url":"str","weibo_app_web_view_url":"str"}]}

class GoodsPushModel {
  Goods_promotion_url_generate_responseBean goodsPromotionUrlGenerateResponse;

  static GoodsPushModel fromMap(Map<String, dynamic> map) {
    if (map == null) return null;
    GoodsPushModel goodsPushModelBean = GoodsPushModel();
    goodsPushModelBean.goodsPromotionUrlGenerateResponse = Goods_promotion_url_generate_responseBean.fromMap(map['goods_promotion_url_generate_response']);
    return goodsPushModelBean;
  }

  Map toJson() => {
    "goods_promotion_url_generate_response": goodsPromotionUrlGenerateResponse,
  };
}

/// goods_promotion_url_list : [{"mobile_short_url":"str","mobile_url":"str","qq_app_info":{"app_id":"str","banner_url":"str","desc":"str","page_path":"str","qq_app_icon_url":"str","source_display_name":"str","title":"str","user_name":"str"},"schema_url":"str","short_url":"str","url":"str","we_app_info":{"app_id":"str","banner_url":"str","desc":"str","page_path":"str","source_display_name":"str","title":"str","user_name":"str","we_app_icon_url":"str"},"we_app_web_view_short_url":"str","we_app_web_view_url":"str","weibo_app_web_view_short_url":"str","weibo_app_web_view_url":"str"}]

class Goods_promotion_url_generate_responseBean {
  List<Goods_promotion_url_listBean> goodsPromotionUrlList;

  static Goods_promotion_url_generate_responseBean fromMap(Map<String, dynamic> map) {
    if (map == null) return null;
    Goods_promotion_url_generate_responseBean goods_promotion_url_generate_responseBean = Goods_promotion_url_generate_responseBean();
    goods_promotion_url_generate_responseBean.goodsPromotionUrlList = List()..addAll(
      (map['goods_promotion_url_list'] as List ?? []).map((o) => Goods_promotion_url_listBean.fromMap(o))
    );
    return goods_promotion_url_generate_responseBean;
  }

  Map toJson() => {
    "goods_promotion_url_list": goodsPromotionUrlList,
  };
}

/// mobile_short_url : "str"
/// mobile_url : "str"
/// qq_app_info : {"app_id":"str","banner_url":"str","desc":"str","page_path":"str","qq_app_icon_url":"str","source_display_name":"str","title":"str","user_name":"str"}
/// schema_url : "str"
/// short_url : "str"
/// url : "str"
/// we_app_info : {"app_id":"str","banner_url":"str","desc":"str","page_path":"str","source_display_name":"str","title":"str","user_name":"str","we_app_icon_url":"str"}
/// we_app_web_view_short_url : "str"
/// we_app_web_view_url : "str"
/// weibo_app_web_view_short_url : "str"
/// weibo_app_web_view_url : "str"

class Goods_promotion_url_listBean {
  String mobileShortUrl;
  String mobileUrl;
  Qq_app_infoBean qqAppInfo;
  String schemaUrl;
  String shortUrl;
  String url;
  We_app_infoBean weAppInfo;
  String weAppWebViewShortUrl;
  String weAppWebViewUrl;
  String weiboAppWebViewShortUrl;
  String weiboAppWebViewUrl;

  static Goods_promotion_url_listBean fromMap(Map<String, dynamic> map) {
    if (map == null) return null;
    Goods_promotion_url_listBean goods_promotion_url_listBean = Goods_promotion_url_listBean();
    goods_promotion_url_listBean.mobileShortUrl = map['mobile_short_url'];
    goods_promotion_url_listBean.mobileUrl = map['mobile_url'];
    goods_promotion_url_listBean.qqAppInfo = Qq_app_infoBean.fromMap(map['qq_app_info']);
    goods_promotion_url_listBean.schemaUrl = map['schema_url'];
    goods_promotion_url_listBean.shortUrl = map['short_url'];
    goods_promotion_url_listBean.url = map['url'];
    goods_promotion_url_listBean.weAppInfo = We_app_infoBean.fromMap(map['we_app_info']);
    goods_promotion_url_listBean.weAppWebViewShortUrl = map['we_app_web_view_short_url'];
    goods_promotion_url_listBean.weAppWebViewUrl = map['we_app_web_view_url'];
    goods_promotion_url_listBean.weiboAppWebViewShortUrl = map['weibo_app_web_view_short_url'];
    goods_promotion_url_listBean.weiboAppWebViewUrl = map['weibo_app_web_view_url'];
    return goods_promotion_url_listBean;
  }

  Map toJson() => {
    "mobile_short_url": mobileShortUrl,
    "mobile_url": mobileUrl,
    "qq_app_info": qqAppInfo,
    "schema_url": schemaUrl,
    "short_url": shortUrl,
    "url": url,
    "we_app_info": weAppInfo,
    "we_app_web_view_short_url": weAppWebViewShortUrl,
    "we_app_web_view_url": weAppWebViewUrl,
    "weibo_app_web_view_short_url": weiboAppWebViewShortUrl,
    "weibo_app_web_view_url": weiboAppWebViewUrl,
  };
}

/// app_id : "str"
/// banner_url : "str"
/// desc : "str"
/// page_path : "str"
/// source_display_name : "str"
/// title : "str"
/// user_name : "str"
/// we_app_icon_url : "str"

class We_app_infoBean {
  String appId;
  String bannerUrl;
  String desc;
  String pagePath;
  String sourceDisplayName;
  String title;
  String userName;
  String weAppIconUrl;

  static We_app_infoBean fromMap(Map<String, dynamic> map) {
    if (map == null) return null;
    We_app_infoBean we_app_infoBean = We_app_infoBean();
    we_app_infoBean.appId = map['app_id'];
    we_app_infoBean.bannerUrl = map['banner_url'];
    we_app_infoBean.desc = map['desc'];
    we_app_infoBean.pagePath = map['page_path'];
    we_app_infoBean.sourceDisplayName = map['source_display_name'];
    we_app_infoBean.title = map['title'];
    we_app_infoBean.userName = map['user_name'];
    we_app_infoBean.weAppIconUrl = map['we_app_icon_url'];
    return we_app_infoBean;
  }

  Map toJson() => {
    "app_id": appId,
    "banner_url": bannerUrl,
    "desc": desc,
    "page_path": pagePath,
    "source_display_name": sourceDisplayName,
    "title": title,
    "user_name": userName,
    "we_app_icon_url": weAppIconUrl,
  };
}

/// app_id : "str"
/// banner_url : "str"
/// desc : "str"
/// page_path : "str"
/// qq_app_icon_url : "str"
/// source_display_name : "str"
/// title : "str"
/// user_name : "str"

class Qq_app_infoBean {
  String appId;
  String bannerUrl;
  String desc;
  String pagePath;
  String qqAppIconUrl;
  String sourceDisplayName;
  String title;
  String userName;

  static Qq_app_infoBean fromMap(Map<String, dynamic> map) {
    if (map == null) return null;
    Qq_app_infoBean qq_app_infoBean = Qq_app_infoBean();
    qq_app_infoBean.appId = map['app_id'];
    qq_app_infoBean.bannerUrl = map['banner_url'];
    qq_app_infoBean.desc = map['desc'];
    qq_app_infoBean.pagePath = map['page_path'];
    qq_app_infoBean.qqAppIconUrl = map['qq_app_icon_url'];
    qq_app_infoBean.sourceDisplayName = map['source_display_name'];
    qq_app_infoBean.title = map['title'];
    qq_app_infoBean.userName = map['user_name'];
    return qq_app_infoBean;
  }

  Map toJson() => {
    "app_id": appId,
    "banner_url": bannerUrl,
    "desc": desc,
    "page_path": pagePath,
    "qq_app_icon_url": qqAppIconUrl,
    "source_display_name": sourceDisplayName,
    "title": title,
    "user_name": userName,
  };
}